<extend name="Public:base" />
<block name="content">

<div id="primary" class="inner group">
<div class="layout-sidebar-right group">
   <!-- START CONTENT -->
   <div id="content" class="group">
      <div class="clear"></div>
      <div class="posts group">
         <div class="posts_space"></div>
         <div id="post-105" class="post-105 post type-post status-publish format-standard hentry category-glasses category-uncategorized category-vintage hentry-post group blog-big">
         <foreach name="res" item="v">
            <div class="post_header group">
               <img width="640" height="295" src="{$v['pic']}" class="attachment-blog_big wp-post-image" alt="blog3" title="blog3">                                    
               <div class="post_title" style="opacity:0.9;width:400px">
                  <h2><a href="/home/blog/article/article?id={$v['id']}" style="float:right" title="Permalink to -50% on all vintage glasses, enjoy it" rel="bookmark">{$v['title']}<p style="width:150px"></p></a></h2>
               </div>
            </div>
            <div class="post_content group">
               <div class="post_meta">
                  <div class="post_date">
                     <span class="day">04</span>
                     <span class="month">Sep</span>
                     <span class="year">2011</span>
                  </div>
                  <if condition="(count($v['pinglun']) eq '0')">
                  <div class="post_comments"><a href="#" title="Comment on -50% on all vintage glasses, enjoy it">还没有评论哦</a></div>
                  <else />
                  <div class="post_comments"><a href="#" title="Comment on -50% on all vintage glasses, enjoy it">共有{:count($v['pinglun'])}条评论</a></div>

                  </if>
                  <div class="post_twitter"><a href="#">{$v['hot']}℃</a></div>
                  <div class="post_author">by <a href="#" title="Posts by nando" rel="author">{$v['uid']}</a></div>
               </div>
               <p>{$v['introduce']}</p>
               <p> <a href="/home/blog/article/article?id={$v['id']}" class="more-link">Read more</a><span style="float:right;line-height:60px">{$v['c_time']}</span></p>
            </div>
            <div class="post_ group">
            </div>
           </foreach>
         </div>
      </div>
      <div class="general-pagination group">
      {$pages}
      </div>
   </div>
   <!-- END CONTENT -->
   <!-- START SIDEBAR -->
   <div id="sidebar" class="group">
      <div id="search-3" class="widget-1 widget-first widget widget_search">
         <h3>Search</h3>
         <form role="search" method="get" id="searchform" action="home.html" class="group">
            <div><label class="screen-reader-text" for="s">Search</label>
               <input type="text" value="" name="s" id="s">
               <input type="submit" id="searchsubmit" value="Search">    
               <input type="hidden" name="post_type" value="post">
            </div>
         </form>
      </div>
      <div id="popular-posts-3" class="widget-2 widget popular-posts">
         <h3>热度排行榜</h3>
         <div class="recent-post group">
         	<foreach name="hot" item="v">
            <div class="hentry-post group">
               <div class="thumb-img"><a href="/home/article/article/detail?id={$v['id']}"><img width="55" height="55" src="{$v['pic']}" class="attachment-thumb_recentposts wp-post-image" alt="blog2" title="blog2"></a></div>
               <a href="article.html?id={$v['id']}" title="Looking for a nice theme for your shop?" class="title">{$v['title']}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$v['hot']}℃</a>
               <p class="post-date">{$v['introduce']}</p>
               <p class="post-date">{$v['c_time']}</p>
            </div>
            </foreach>
         </div>
      </div>
      <div id="archives-3" class="widget-4 widget-last widget widget_archive">
         <h3>公告栏</h3>
         <div class="tabs-container">
               <ul class="tabs">
                  <li class=""><a href="#tab1" title="Services">1</a></li>
                  <li class=""><a href="#tab2" title="Customers">2</a></li>
                  <li class="current"><a href="#tab3" title="Marketing">3</a></li>
               </ul>
               <div class="border-box group">
                 <div id="tab1" class="panel group showing" style="display: none;">
                     <h4>Your Title of Tab 3</h4>
                     <p><img src="__PUBLIC__/home/images/blog/avatar.jpg" alt="tab1" class="alignleft"></p>
                     <p>
                        haha
                     </p>
                     <p>    
                  </p></div>
                  <div id="tab2" class="panel group" style="display: none;">
                     <h4>Your Title of Tab 3</h4>
                     <p>
                       xixi
                     </p>
                     <p>    
                  </p></div>
                  <div id="tab3" class="panel group" style="display: block;">
                     <h4>新品发布</h4>
                     <ul class="short arrow">
                     <foreach name="goods" item="v">
                        <li><a href="/home/goods/detail/index/id/{$v['id']}">{$v['goods_name']}</a></li>
                     </foreach>
                     </ul>
                     <p>    
                  </p></div>
               </div>
            </div>

      </div>
   </div>
   <!-- END SIDEBAR -->    
</div>
</div>
</block>